<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    
    <script src="../src/tangth.js"></script>
    <script>
    
        function start(){
            $.ajax({
                "url": "http://172.18.8.39:8009/api/system/unread_message_count/",
                "type": "POST",
                "contentType": "application/json;charset=utf-8",
                "data": {"token":"d7b6547c42aa4b4c89d8aa87c5d3225d"},
                "accepts": "xml",
                "headers": {"Accept-Language": "zh-CN"},
                "success": function(res){
                    console.log("res", res);
                }
            })
        }
    
    </script>

    <div onclick="start()">开始</div>
</body>
</html>